package com.qingge.springboot.common;

public interface Constants {

    public static final String EXCEL_PATH = "excel/";
    public static final String PHOTO_PATH = "photo/";
    public static final String PHOTO_SHOW_PATH = "uploads";
    /** excel文件后缀名 **/
    public static final String[] EXCEL_SUFFIX = {"xls", "xlsx"};
    /** 图片文件后缀名 **/
    public static final String[] PHOTO_SUFFIX = {"png", "jpg", "jpeg"};

    String CODE_200 = "200"; //成功
    String CODE_401 = "401";  // 权限不足
    String CODE_400 = "400";  // 参数错误
    String CODE_500 = "500"; // 系统错误
    String CODE_600 = "600"; // 其他业务异常

    String DICT_TYPE_ICON = "icon";


    /** 取消订单 **/
    public static final Integer STATE_CANCEL = -1;
    /** 已支付 **/
    public static final Integer STATE_PAYED = 0;
    /** 配送中 **/
    public static final Integer STATE_DELIVERY = 1;
    /** 已完成 **/
    public static final Integer STATE_FINISH = 2;
    String FILES_KEY = "FILES_FRONT_ALL";

}
